package com.ato.java;

public class HelloWorld {
    public static void main(String[] args) {
        System.out.println("hello world");
        int a = 12;
        int b = 13;
        String bb = a>b?"a大":"a小";
        System.out.println(bb);
        int c = 10;
        System.out.println(c>>1);
        System.out.println("==========================");
//        右移n位就相当于除以2的n次方。
//        几次幂要用到包。
        System.out.println(c/(Math.pow(2,1)));
        for (int i = 1; i<10;i++){
            if(i==2){
                return;
            }
            System.out.println(i);
        }
//        Scanner scan = new Scanner(System.in);
//        String info = scan.next();
//        int num = scan.nextInt();
//        System.out.println(info );
//        System.out.println(num );

    }
}
    